package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程信息对象 course_dept
 * 
 * @author ruoyi
 * @date 2025-07-28
 */
public class CourseDept extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 课程id */
    private Long id;

    /** 专业id */
    @Excel(name = "专业id")
    private Long zhuanyeId;

    /** 老师 */
    @Excel(name = "老师")
    private String teacher;

    /** 学时 */
    @Excel(name = "学时")
    private Long xueshi;

    /** 课程状态（0正常 1停用） */
    @Excel(name = "课程状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setZhuanyeId(Long zhuanyeId) 
    {
        this.zhuanyeId = zhuanyeId;
    }

    public Long getZhuanyeId() 
    {
        return zhuanyeId;
    }

    public void setTeacher(String teacher) 
    {
        this.teacher = teacher;
    }

    public String getTeacher() 
    {
        return teacher;
    }

    public void setXueshi(Long xueshi) 
    {
        this.xueshi = xueshi;
    }

    public Long getXueshi() 
    {
        return xueshi;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("zhuanyeId", getZhuanyeId())
            .append("teacher", getTeacher())
            .append("xueshi", getXueshi())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
